
	/* ----------------------------------- layout ----------------------------------- */
html 	{ 
		min-width: 966px;
		background: #f9f9f9;
		overflow:scroll;
		overflow-x:hidden;

		}

body	{
		margin: 0;
		padding: 0;
		border: 0;
		text-align: center;
		background: #f9f9f9 url(/i/site_holder.gif) top center repeat-y;
		font: 12px Verdana, Arial, Helvetica, sans-serif;
		}

div#wrapper	{
		margin: 0 auto;
		padding: 0;
		border: 0;
		width: 966px;
		text-align: left;
		background: transparent url(/i/site_wrapper.gif) top left repeat-y;
		}

div#navsecond	{
		float: left;
		margin: 0 0 0 6px;
		padding: 0;
		border: 0;
		width: 150px;
		background : transparent;
		}

html>body div#navsecond {
		margin-left: 12px;
		}

div#maincontent {
		float: left;
		margin: 0;
		padding: 0;
		border: 0;
		width: 637px;
		background: transparent;
		}

div#sidebar	{
		float: left;
		margin: 0;
		padding: 0;
		border: 0;
		width: 150px;
		background: transparent;
		}

div#footer	{
		clear: both;
		margin: 0;
		padding: 0;
		margin-left: 12px;
		width: 937px;
		height: 46px;
		background: #b6b6b6;
		border-top: 10px solid #fff;
		border-bottom: 10px solid #fff;
		}

div#footer p	{
		margin: 2px 10px 0 10px;
		font-size: 12px;
		}




	/* ----------------------------------- header ----------------------------------- */
div#header, div#header_index	{
		margin: 0 0 0 12px;
		padding: 0;
		border: 0;
		width: 937px;
		height: 90px;
		background: #b6b6b6;
		}

div#header  a, div#header_index  a, div#header_index  h1	{
		text-indent: -9999px;
		margin: 0;
		padding: 0;
		border: 0;
		overflow:hidden;
		}

div#header  a:link, div#header  a:visited	{
		display: block;	
		width: 209px;
		height: 90px;
		background : transparent url(/i/site_bg.gif) 0 -125px no-repeat;
		margin: 0;
		padding: 0;
		border: 0;
		}

div#header  a:hover	{
		background: transparent url(/i/site_bg.gif) 0 -215px no-repeat;
		}

div#header	div#ad_head	{
	float:right;
	width:728px;
	height:90px;
	background-color:#efefef;
	}

div#header_index  a:link, div#header_index  a:visited	{
		display: block;	
		width: 937px;
		height: 90px;
		background : transparent url(/i/site_head_index.gif) top left no-repeat;
		margin: 0;
		padding: 0;
		border: 0;
		}

div#header_index  a:hover	{
		background: transparent url(/i/site_head_index.gif) 0 -90px no-repeat;
		}




	/* ----------------------------------- index -----------------------------------*/


body#homefirst div#maincontent {
	font-family:'΢���ź�';
	}

body#homefirst div#maincontent div {
	padding-top:0;
	}

body#homefirst div#maincontent div#w3 {
	text-align:center;
	}

body#homefirst div#maincontent div#partner {
	width: 307px;
	float: left;
	}

body#homefirst div#maincontent div#update {
	width: 300px;
	float: left;
	margin:0;
	}

body#homefirst div#maincontent div#w3 h2 {
	margin-top:20px;
	font-size:20px;
	}

body#homefirst div#maincontent h3 {
	margin-top:15px;
	font-size:14px;
	}

body#homefirst div#maincontent div.idea	{
	padding: 0;
	min-height: 118px;
	}

body#homefirst div#maincontent div.idea img {
	margin:0;
	float:left;
	}




	/* ----------------------------------- navfirst -----------------------------------*/
div#navfirst	{
		height: 40px;
		width: 937px;
		margin: 0 0 0 12px;
		padding: 0;
		border: 0;
		background: #fff;
		}

div#navfirst ul#menu	{
		height: 40px;
		width: 937px;
		/* background: transparent url(/i/site_bg.gif) top left no-repeat; */
		margin: 0;
		padding: 0;
		position: relative;
		}

div#navfirst ul#menu li	{
		margin:0;
		padding:10px;
		list-style:none;
		width:100px; 
		float:left;
		top:0;
		}

#h a:hover	{background: transparent url(/i/site_bg.gif) 0 -40px no-repeat;}
#x a:hover	{background: transparent url(/i/site_bg.gif) -88px -40px no-repeat;}
#b a:hover	{background: transparent url(/i/site_bg.gif) -174px -40px no-repeat;}
#s a:hover	{background: transparent url(/i/site_bg.gif) -363px -40px no-repeat;}
#d a:hover	{background: transparent url(/i/site_bg.gif) -540px -40px no-repeat;}
#m a:hover	{background: transparent url(/i/site_bg.gif) -660px -40px no-repeat;}
#w a:hover	{background: transparent url(/i/site_bg.gif) -794px -40px no-repeat;}

body.html #h {background: transparent url(/i/site_bg.gif) 0 -40px no-repeat;}
body.xml #x {background: transparent url(/i/site_bg.gif) -88px -40px no-repeat;}
body.browserscripting #b {background: transparent url(/i/site_bg.gif) -174px -40px no-repeat;}
body.serverscripting #s {background: transparent url(/i/site_bg.gif) -363px -40px no-repeat;}
body.dotnet #d {background: transparent url(/i/site_bg.gif) -540px -40px no-repeat;}
body.multimedia #m {background: transparent url(/i/site_bg.gif) -660px -40px no-repeat;}
body.webbuilding #w {background: transparent url(/i/site_bg.gif) -794px -40px no-repeat;}




	/* Default links */
a:link, a:visited {
	text-decoration : underline;
	color : #900b09;
	background : transparent; 
	}

a:hover {
	text-decoration : underline;
	color: #ff0000;
	background : transparent; 
	}

a:active {
	text-decoration : underline;
	color : #ff0000;
	background : transparent;  
	}

div#navsecond li.currentLink a:link, div#navsecond li.currentLink a:visited	{
	text-decoration : none;
	color:#ff0000;
	background : transparent;
	}

div#navsecond li.currentLink a:hover	{
	text-decoration : underline;
	color : #ff0000;
	background : transparent;
	}

div#navsecond a:link, div#navsecond a:visited	{
	text-decoration : none;
	color:#000;
	background : transparent;
	} 

div#navsecond a:hover	{
	text-decoration : underline;
	color : #000;
	background : transparent;
	}

div#navsecond a:active	{
	text-decoration : underline;
	color : #000;
	background : transparent;
	}

div#navsecond a#link_help {
	color:#0479A7;
	}

div#navsecond a#link_about {
	color:#0479A7;
	}

div#maincontent .partner a {
	color:#0479A7;
	}

div#footer a:link, div#footer a:visited	{
	text-decoration : none;
	color:#000;
	background : transparent;
	} 

div#footer a:hover	{
	text-decoration : underline;
	color : #000;
	background : transparent;
	}

div#footer a:active	{
	text-decoration : underline;
	color : #000;
	background : transparent;
	}


	/* ----------------------------------- Typography ----------------------------------- */

h2, h3, h4, h5, h6	{
	font-weight: bold;
	margin:0;
	padding:0;
	}

div#maincontent h1	{
	margin:15px 0 0 15px;
	font-size: 20px;
	font-family: '΢���ź�';
	}

div#maincontent h2	{
	font-size: 14px;
	}

div#maincontent h3,  div#maincontent h4{
	margin:20px 0 0 0;
	font-size:12px;
	}

div#navsecond h2, div#sidebar h2	{
	font-size: 12px;
	margin:10px 0 0 12px;
	}

body#homesecond div#navsecond li {
	margin:5px 0 0 0;
	font-weight:bold;
	font-size:12px;
	}

p	{
	margin: 12px 0 0 0;
	line-height: 150%;
	}

div.backtoreference p{
	margin:0;
	}

div#w3school p {
	margin-left:15px;
	}

div#maincontent div p:first-child {
	margin: 0;
	}

div#intro strong	{
	font-size:12px;
	}

p.note span, p.important span, p.tip span, p.inherited, p.inherited span {
	font-weight:bold;
	}

p.important span {
	color:#dd0000;
	}
	
p.tip span {
	color:#ff9955;
	}

p.inherited {
	color:#ff0000;
	}

p.inherited span {
	color:#999;
	}

p.chinese span {
	color:#0000ff;
	}

em	{
	font-style:normal;
	font-weight:bold;
	}

pre	{
	width:580px;
	margin: 10px 0 0 0;
	padding: 10px;
	border: 0;
	border: 1px dotted #785;
	background: #f5f5f5;
	font-family: "Courier New",monospace;
	font-size: 12px;
	}

pre code {
	font-family: "Courier New",monospace;
	color:#0000dd;
	}

pre span {
	color:#999;
	}

pre span.code_comment {
	color:#999;
	}

.tabledata table pre {
	width:auto;
	margin:0;
	padding:0;
	border:0;
	background-color:transparent;
	}

div#maincontent ul {
	margin-top:10px;
	margin-bottom:0;
	}

div#maincontent li {
	margin-top:3px;
	}

div#navsecond ul, div#navsecond li, div#sidebar ul, div#sidebar li	{
	margin: 0;
	padding: 0;
	}

div#navsecond ul, div#sidebar ul	{
	margin-left: 12px;
	}

div#navsecond li, div#sidebar li	{
	list-style: none;
	}

div#navsecond li.list_apart {
	margin-top:10px;
	}

ul.small {
	font-size:11px;
	}

img {
	border:0;
	}

div#maincontent img {
	margin:25px 0 0 25px;
	}

div#maincontent	div{
	width: 607px;
	margin: 0 0 0 15px;
	padding: 20px 0 20px 0;
	border:0;
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	}

body#homesecond dl	{
	margin:0;
	padding:0;
	}

body#homesecond dt {
	font-weight: bold;
	font-size: 14px;
	margin:0;
	padding:0;
	}
	
body#homesecond dd {
	color:#000088;
	margin:10px 0 0 0;
	padding:0;
	}

body#homesecond dd p {
	margin:0;
	padding:0;
	}


div#maincontent div#toc div	{
	margin:0;
	margin-top:15px;
	margin-bottom:35px;
	padding:0;
	border:0;
	}

div#toc img	{
	float:left;
	margin:0;
	margin-right:10px;
	}

div#toc div dt, div#toc div dl	{
	margin-top:0;
	}

div#example dl, div.example dl, div#moreexamples dl, div#toc dl, div#referencelist dl	{
	margin: 10px 0 0 0;
	}

div#example dt, div.example dt, div#moreexamples dt, div#toc dt, div#referencelist dt	{
	margin:15px 0 5px 0;
	}

div#example dd, div.example dd, div#moreexamples dd, div#toc dd, div#referencelist dd	{
	margin:0;
	}


div#definition dl	{
	margin: 0;
	padding:0;
	}

div#definition dt	{
	font-weight: bold;
	font-size: 14px;
	}
	
div#definition dd	{
	margin:0;
	color:#000088;
	}

div#definitionlist dl, dl.define 	{
	margin: 10px 0 0 0;
	}

div#definitionlist dt, dl.define dt	{
	margin:15px 0 3px 0;
	font-weight:bold;
	color:#0479A7;
	}

div#definitionlist dd, dl.define dd	{
	margin:10px 0 0 10px;
	line-height: 150%;
	}

div#maincontent input, div#maincontent select, div#maincontent textarea	{
	font-family:"Courier New", Courier, monospace;
	font-size:12px;
	}

span.i {font-style:italic;}

span.deprecated {
	color:#e80000;
	}

.marked {
	color:#dd0000;
	}

.tiy {
	font-weight:normal;
	}

p.gototop {
	font-weight:bold;
	text-align:right;
	}

div#maincontent canvas.canvas_example {
	border:1px solid #d3d3d3;
	background:#ffffff;
	width:300px;
	height:150px;
	margin-top:15px;
	}

div#maincontent div.panel,p.flip {
	width:400px;
	margin:0;
	padding:5px;
	text-align:center;
	background:#e5eecc;
	border:solid 1px #c3c3c3;
}

div#maincontent p.flip {
	margin-top:15px;
}

div.panel {
	display:none;
}

div#maincontent button {
	font-size:12px;
	margin-top:15px;
}


/* ----------------------------------- ��� ----------------------------------- */
div.tabledata table {
	margin-top:10px;
	border-collapse:collapse;
	border:1px solid #888;
	}

div.tabledata th {
	padding:5px 0 5px 0;
	background-color:#ccc;
	border:1px solid #888;
	}

div.tabledata td {
	vertical-align:text-top;
	padding-top:4px;
	background-color:#efefef;
	border:1px solid #aaa;
	}

div.tabledata ul, div.tabledata li {
	list-style-type:none;
	margin:0;
	padding:0;
	}

div.tabledata td em{
	color:#ff0000;
	font-weight:normal;
	}



table.dataintable {
	font-family:Arial, Helvetica, sans-serif;
	margin-top:10px;
	border-collapse:collapse;
	border:1px solid #888;
	width:100%;
	}

table.dataintable pre {
	width:auto;
	margin:0;
	padding:0;
	border:0;
	background-color:transparent;
	}

table.dataintable th {
	vertical-align:baseline;
	padding:5px 15px 5px 5px;
	background-color:#ccc;
	border:1px solid #888;
	text-align:left;
	}

table.dataintable td {
	vertical-align:text-top;
	padding:5px 15px 5px 5px;
	background-color:#efefef;
	border:1px solid #aaa;
	}


table.dataintable p {margin:0 0 2px 0;}

div#maincontent table.dataintable ul, div#maincontent table.dataintable li {
	list-style-type:none;
	margin:0;
	padding:0;
	}

table.dataintable td em{
	color:#0000ff;
	font-weight:normal;
	}
	
table.dataintable .table_value {color:#0F93D2;}

.no_wrap {white-space:nowrap;}

div#maincontent table.dataintable ul.listintable {
	margin:20px;
	padding:0;
	}

div#maincontent table.dataintable ul.listintable  li{
	list-style-type:disc;
	}


table.dataintable td.html5_new {
	background: #EFEFEF url(/i/site_table_bg.gif) top right no-repeat;
	}

.html5_new_note span {
	color:blue;
	font-weight:bold;
	}

tr.notsupported {
	color:#999999;
	}


	/* ----------------------------------- prenextnav ----------------------------------- */

div#tpn, div#bpn	{
	height:21px;
	width:230px;
	margin: 0;
	padding: 0;
	border: 0;
	background: #fff;
	}

div#tpn ul.prenext, div#bpn ul.prenext	{
	height:21px;
	width:230px;
	background: transparent url(/i/site_bg.gif) 0 -305px no-repeat;
	margin:0;
	padding:0;
	border:0;
	position:relative;
	}

div#tpn ul.prenext li, div#bpn ul.prenext li	{
	margin:0;
	padding:0;
	list-style:none;
	position:absolute;
	top:0px;
	overflow:hidden;
	}

ul.prenext li, ul.prenext a	{
	display:block;
	height:21px;
	}

div#tpn ul.prenext a, div#bpn ul.prenext a	{
	text-indent: -9999px;
	text-decoration: none;
	}

.pre	{left:0; width:105px;}
.next	{left:125px; width:105px;}

.pre a:hover	{background: transparent url(/i/site_bg.gif) -230px -305px no-repeat;}
.next a:hover	{background: transparent url(/i/site_bg.gif) -355px -305px no-repeat;}





	/* ----------------------------------- navsecond ----------------------------------- */
div#course {
	background:transparent url(/i/site_bg.gif) 0 -326px no-repeat;
	padding:30px 0 10px 0;
	}

div#afterschool {
	background:transparent url(/i/site_bg.gif) -450px -326px no-repeat;
	padding:30px 0 10px 0;
	}

div#selected {
	background:transparent url(/i/site_bg.gif) -150px -326px no-repeat;
	padding:30px 0 10px 0;
	}




	/* ----------------------------------- sidebar ----------------------------------- */
div#tools {
	background:transparent url(/i/site_bg.gif) -300px -326px no-repeat;
	padding:45px 0 10px 15px;
	margin:0;
	}

div#books {
	background:transparent url(/i/site_bg.gif) -450px -326px no-repeat;
	padding:45px 0 0 15px;
	margin:0;
	}

div#ad {
	background:transparent url(/i/site_bg.gif) -600px -326px no-repeat;
	padding:6px 0 10px 15px;
	margin:0;
	}

div#sidebar div#ad h2 {
	color:#000000;
	margin:0 0 25px 25px;
	font-size:14px;
	font-family: '΢���ź�';
}

div#ad span {
	margin:0 0 15px 0;
	}


	/* ----------------------------------- sidebar banner ----------------------------------- */

div#tools h5	{
	margin: 0 0 10px 0;
	padding: 0;
	overflow:hidden;
	}

div#tools h5#tools_reference, div#tools h5#tools_example, div#tools h5#tools_quiz, div#tools h5#tools_search	{
	text-indent: -9999px;
	width: 120px;
	height: 45px;
	}

div#tools h5#tools_reference a, div#tools h5#tools_example a, div#tools h5#tools_quiz a, div#tools h5#tools_search a	{
	display: block;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	text-decoration: none;
	}

div#tools h5#tools_reference a	{
	background: transparent url(/i/site_bg.gif) 0 -80px no-repeat;
	}

div#tools h5#tools_reference a:hover	{
	background: transparent url(/i/site_bg.gif) -120px -80px no-repeat;
	}

div#tools h5#tools_example a	{
	background: transparent url(/i/site_bg.gif) -240px -80px no-repeat;
	}

div#tools h5#tools_example a:hover	{
	background: transparent url(/i/site_bg.gif) -360px -80px no-repeat;
	}

div#tools h5#tools_quiz a	{
	background: transparent url(/i/site_bg.gif) -480px -80px no-repeat;
	}

div#tools h5#tools_quiz a:hover	{
	background: transparent url(/i/site_bg.gif) -600px -80px no-repeat;
	}




/* ----------------------------------- search form ----------------------------------- */
div#searchui	{
	margin:15px 0 15px 0;
	padding:0;
	}

div#searchui p {
	margin:0;
	padding:0;
	}

#searchui label	{
	margin:0 0 0 2px;
	text-transform:uppercase;
	letter-spacing:2px;
	font-size:11px;
	}

#searchui input.button	{
	padding:0;
	margin:0;
	background:#AE4141;
	font:12px Verdana, Arial, Helvetica, sans-serif;
	color:#FFFFFF;
	width:25px;
	}

#searchui input.box	{
	margin:0 0 0 2px;
	width:100px;
	background:#f5f5f5;
	font:12px Verdana, Arial, Helvetica, sans-serif;
	}
